<div class="div_page">
<div class="div_page_inner">

<div class="div_title"> <?php 
  echo phrase::__("Secure PSO decoder"); ?>
</div>
<div>&nbsp;</div>

<form method="post" id="frm_decode_spso">
  <input type="hidden" id="inp_command" name="post_command" 
    value="get_file_list"/>
  <input type="hidden" id="inp_file" name="file_name"/>
  
  Relative path under 'data' to folder containing 
  secured PSO (Secured PHP Serialized Object) files:<br>
  <input class="inp_dt_spso" value="<?php echo $this->data_path; ?>" 
    readonly name="data_path"/><br> <?php

  if (count($this->files)==0)
    echo "No secured PSO files in this folder or not loaded<br>";
  foreach ($this->files as $file) { ?>
    <a href="#" onclick="decode_spso('<?php echo $file; ?>');"> <?php 
    echo $file; ?>.php
    </a><br> <?php
  } ?>
  
  <button class="btn_dt_spso" type="submit">Get file list</button>
</form>
<div>&nbsp;</div> 

<div style="background:#ddd; text-align:left;">
<pre><?php
  var_dump($this->object_data); ?>
</pre>
</div>

</div>
</div>